{% include 'base.html' %}

<style>
    .smodel-detail {
        max-width: 800px;
        margin: 30px auto;
        background: white;
        border-radius: 8px;
        padding: 25px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    .smodel-header {
        display: flex;
        gap: 20px;
        align-items: center;
        margin-bottom: 25px;
    }

    .smodel-avatar {
        width: 150px;
        height: 150px;
        object-fit: cover;
        border-radius: 8px;
        box-shadow: 0 3px 8px rgba(0,0,0,0.15);
    }

    .smodel-name {
        font-size: 24px;
        color: #2c3e50;
        margin: 0;
    }

    .smodel-info {
        background-color: #f8f9fa;
        padding: 15px;
        border-radius: 6px;
        line-height: 1.8;
    }

    .info-label {
        font-weight: 500;
        color: #666;
    }
</style>

<div class="smodel-detail">
    <div class="smodel-header">
        <img src="{{url_for('static',filename=smodel.photo_path) }}" class="smodel-avatar">
        <h1 class="smodel-name">{{smodel.name}}</h1>
    </div>
    <div class="smodel-info">
        <p><span class="info-label">简介：</span>{{smodel.jian_jie}}</p>
    </div>
</div>